﻿using System;

namespace Eassets.Layered.Domain.Esecure
{
    [Serializable]
 public class Company
    {
        #region Fields
        
        /// <summary>
        /// 
        /// </summary>
        private int companyId;

        /// <summary>
        /// 
        /// </summary>
        private string companyCode;

        /// <summary>
        /// 
        /// </summary>
        private string companyName;
       
        #endregion

        #region Properties

        public int CompanyId
        {
            get
            {
                return this.companyId;
            }
            set
            {
                this.companyId = value;
            }
        }

        public string CompanyCode
        {
            get
            {
                return this.companyCode;
            }
            set
            {
                this.companyCode = (value != null) ? value : string.Empty;
                //this.code = value;
            }
        }

        public string CompanyName
        {
            get
            {
                return this.companyName;
            }
            set
            {
                this.companyName = (value != null) ? value : string.Empty;
                //this.code = value;
            }
        }

        #endregion

        public object CategoryID { get; set; }
    }
}
